from flask import Flask, request

app = Flask(__name__)

@app.route('/')
def index():
    print(request)
    name = request.args.get('name')
    return 'index'

if __name__ == '__main__':
    app.run(debug=True)